<!--# layout("/common/layout.html",{"jsBase":"/js/cms/bTemplate/"}){ -->

<form class="layui-form layui-form-pane" id="updateForm">
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label">模板代码</label>
				<div class="layui-input-inline">
					<input type="text" id="code" name="code"  value="${bTemplate.code}"   class="layui-input" >
				</div>
            </div>
            <div class="layui-inline">
            <label class="layui-form-label">模板名称</label>
				<div class="layui-input-inline">
					<input type="text" id="templatename" name="templatename"  value="${bTemplate.templatename}"   class="layui-input" >
				</div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label">模板路径</label>
				<div class="layui-input-inline">
					<input type="text" id="filepath" name="filepath"  value="${bTemplate.filepath}"   class="layui-input" >
				</div>
            </div>
            <div class="layui-inline">
            <label class="layui-form-label">创建时间</label>
				<div class="layui-input-inline">
					<input type="text" id="createtime" name="createtime"  value="${bTemplate.createtime,"yyyy-MM-dd"}"   class="layui-input input-date" >
				</div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label">创建用户</label>
				<div class="layui-input-inline">
					<input type="text" id="createuser" name="createuser"  value="${bTemplate.createuser}"   class="layui-input" >
				</div>
            </div>
            <div class="layui-inline">
            <label class="layui-form-label">更新时间</label>
				<div class="layui-input-inline">
					<input type="text" id="updatetime" name="updatetime"  value="${bTemplate.updatetime,"yyyy-MM-dd"}"   class="layui-input input-date" >
				</div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label">更新用户</label>
				<div class="layui-input-inline">
					<input type="text" id="updateuser" name="updateuser"  value="${bTemplate.updateuser}"   class="layui-input" >
				</div>
            </div>
        </div>
    </div>
	<!-- 业务对象须有hidden字段，保存delFlag和version字段-->
	<input type="hidden" name="delFlag" value=${bTemplate.delFlag} />
    <input type="hidden" name="id" value=${bTemplate.id} />
    <layui:submitButtons id="updateButton" />
</form>
<!--#} -->
<script>
layui.use(['edit'], function(){
    var bTemplateEdit = layui.edit
    bTemplateEdit.init();
});
</script>
